package com.incar.chuxing.bean;

/**
 * Created by 17310 on 2018/8/14.
 */

public class ForbidArea {

    /**
     * status : 200
     * message : 查询成功
     * attachment : {"validResult":false,"failureReason":"禁还区域","btnType":0,"suggestion":"请更换还车区域","noticeUrl":"http://manual.mydadao.com/h5/#/repay"}
     */

    private int status;
    private String message;
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * validResult : false
         * failureReason : 禁还区域
         * btnType : 0
         * suggestion : 请更换还车区域
         * noticeUrl : http://manual.mydadao.com/h5/#/repay
         */

        private boolean validResult;
        private String failureReason;
        private int btnType;
        private String suggestion;
        private String noticeUrl;

        public boolean isValidResult() {
            return validResult;
        }

        public void setValidResult(boolean validResult) {
            this.validResult = validResult;
        }

        public String getFailureReason() {
            return failureReason;
        }

        public void setFailureReason(String failureReason) {
            this.failureReason = failureReason;
        }

        public int getBtnType() {
            return btnType;
        }

        public void setBtnType(int btnType) {
            this.btnType = btnType;
        }

        public String getSuggestion() {
            return suggestion;
        }

        public void setSuggestion(String suggestion) {
            this.suggestion = suggestion;
        }

        public String getNoticeUrl() {
            return noticeUrl;
        }

        public void setNoticeUrl(String noticeUrl) {
            this.noticeUrl = noticeUrl;
        }
    }
}
